package com.shaw.ssTest.model;


import jakarta.persistence.*;
import lombok.*;


@Entity
@Getter
@Setter
@ToString
@Table(name = "person", indexes = {
        @Index(name = "idx_person_id_unq", columnList = "id", unique = true)
})
public class Person {

    @Id
    private Long id;

    @Column(name = "name", length = 20)
    private String name;

    @Column(name = "agee", length = 4)
    private int age;

}

